package org.wangblue.director;

import org.wangblue.builder.Builder;

/**
 * @Description: 指挥者
 * @Author: WangBlue
 * @Create: 2024-09-06 09:24
 * @Version: 1.0
 **/

public class Director1 {
    public void construct(Builder builder) {
        builder.buildPartA();
        builder.buildPartB();
        builder.getResult().add("产品甲");
        builder.getResult().add("产品乙");
        builder.getResult().show();
    }
}
